package a.f.g.a;

class k
{
  static double a(double paramDouble, int paramInt)
  {
    boolean bool = xb.r;
    int i = xb.q;
    if (paramInt < 0) {
      throw new IllegalArgumentException("Negative exponents not allowed");
    }
    if (!bool) {
      switch (paramInt)
      {
      }
    }
    do
    {
      return 1.0D;
      return paramDouble;
      return paramDouble * paramDouble;
      return paramDouble * paramDouble * paramDouble;
      return paramDouble * paramDouble * paramDouble * paramDouble;
      return paramDouble * paramDouble * paramDouble * paramDouble * paramDouble;
      if (!bool)
      {
        if (b(paramInt))
        {
          paramDouble *= paramDouble;
          paramInt >>= 1;
        }
      }
      else {
        if (i == 0) {
          break;
        }
      }
    } while (bool);
    return paramDouble * a(paramDouble * paramDouble, paramInt - 1 >> 1);
  }
  
  static boolean a(long paramLong)
  {
    if (!xb.r) {}
    return (paramLong & 1L) == 1L;
  }
  
  static boolean b(long paramLong)
  {
    if (!xb.r) {}
    return (paramLong & 1L) == 0L;
  }
  
  static double a(int paramInt, double paramDouble1, double paramDouble2)
  {
    boolean bool = xb.r;
    if (!bool) {
      if (paramInt == 0) {
        return 0.0D;
      }
    }
    if (!bool) {
      if (paramInt == 1) {
        return 0.0D;
      }
    }
    if (!bool) {
      if (paramDouble1 == 0.0D)
      {
        if (bool) {
          break label53;
        }
        if (paramDouble2 == 0.0D) {
          return 0.0D;
        }
      }
    }
    label53:
    double d1 = paramInt * paramDouble2 - paramDouble1 * paramDouble1;
    if (!bool) {
      if (d1 < 0.0D) {
        return 0.0D;
      }
    }
    double d2 = Math.sqrt(d1 / (paramInt * (paramInt - 1)));
    if (!bool)
    {
      if (d2 < 0.001D) {
        return 0.0D;
      }
      if (bool) {}
    }
    else if (Double.isNaN(d2))
    {
      throw new IllegalArgumentException("deviation is NaN");
    }
    return d2;
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.g.a.k
 * JD-Core Version:    0.7.0.1
 */